import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 东莞呵呵
 * Date:2022-05-05
 * Time:15:06
 */


class Team {

    private int teamId;

    private String introduction;


    public void setteamId(int teamId) {

    this.teamId = teamId;
    }



    public int getteamId() {

       return this.teamId;

    }


    public void setintroduction(String introduction) {

        this.introduction = introduction;

    }



    public String getintroduction() {

    return this.introduction;

    }

}


class CookingCompetition {

    public static void main(String[] args) {

        Team team[] = new Team[50];
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入有几支队伍");
        int n= scanner.nextInt();
        for (int i = 0; i < n; i++) {

            team[i] = new Team();

        }

        for (int i = 0; i < n; i++) {


            team[i].setteamId ( scanner.nextInt());

            team[i].setintroduction (scanner.nextLine());

        }

        for (int i = 0; i < n; i++) {
            System.out.println("参赛队伍" + team[i].getteamId() + ":" + team[i].getintroduction());

        }

    }
}
